package com.eedi.framework.permission.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eedi.framework.org.core.db.OrgInfoBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色和菜单关联
 *
 */
@TableName("org_role_menu")
@Data
@EqualsAndHashCode(callSuper = true)
public class OrgRoleMenuDO extends OrgInfoBaseDO {

    /**
     * 角色菜单业务id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String orgRoleMenuId;
    /**
     * 角色ID
     * 关联 {@link OrgRoleDO#getOrgRoleId()} ()} ()}
     */
    private String orgRoleId;
    /**
     * 菜单ID
     * 关联 {@link OrgMenuDO#getOrgMenuId()} ()} ()}
     */
    private String orgMenuId;


}
